package com.gxa.modules.model.entity.fee;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 住院充值记录表
 * </p>
 *
 * @author gxa
 * @since 2022-11-12 11:12:58
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_inpatient_recharge_records")
@ApiModel(value = "InpatientRechargeRecords对象", description = "住院充值记录表")
public class InpatientRechargeRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("住院充值记录表的id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("操作的时间（充值时间）")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("充值订单的id")
    @TableField("recharge_order_id")
    private Integer rechargeOrderId;

    @ApiModelProperty("患者的id")
    @TableField("patient_id")
    private Integer patientId;

    @ApiModelProperty("住院信息id")
    @TableField("in_info_id")
    private Integer inInfoId;

    @ApiModelProperty("逻辑删除")
    @TableField("is_delete")
    private Integer isDelete;


}
